<?
/* Contains all function to generate tables, menu's and other website elements	*/
/* Add more stuff here and comment the returns and parameters					*/


/*
function:
draw_menu

Description:
Draws a simple menu

Arguments:
$headertext: contains the text for the menu item
$menu_items: contains an array of all list items sorted as followed:
	menu_items[0]['text'] = "Link 1";
	menu_items[0]['link'] = "http://www.lol.com";
*/

function draw_menu($header_text, $menu_items) {
	$table = "";
	
	$table = "<table id=\"left_menu\">";
	
	
	foreach ($menu_items as $item) {
		$table = "<tr id=\"left_menu_item\">$item['</tr>";
	}
}


?>